begintalkscript;
variables;
begintalknode 1;
    state = -1;
    nextstate = 1;
    condition = 1;
    question = "Nhyssa";
    text1 = "You take a closer look at the wyvern, and realize that it isn't even grown-up. Suddenly it realizes you and prepares to spit sulphuric acid on you.";
    text2 = "It starts to talk: _Not again you thieves. Wait a second, you're not of them, are you? I'm Nhyssa. They shall pay for this._";
    text3 = "Nhyssa resumes crawling slowly.";
    text5 = "_Payback ti Ah, you're not of them.";
    action = INTRO;
begintalknode 2;
    state = 1;
    nextstate = 2;
    condition = 1;
    question = "Who are 'they'?";
    text1 = "_They said they were from Goldar. They had a mage who forcecaged me. And then they stole my best item._";
    text2 = "_Do you know anything about it?._";
begintalknode 3;
    state = 1;
    nextstate = 1;
    condition = 1;
    question = "You are a wyvern. What is a wyvern?";
    text1 = "_Wyverns are like venom drakes. We breathe acid mist instead of fire._";
    text2 = "_Sadly, they had acid-proof clothing._";
begintalknode 4;
    state = 2;
    nextstate = 2;
    condition = 1;
    question = "What was your best item?";
    text1 = "_It was my best toy. It was a lava bat puppet studded with iron. It could shoot fireballs._";
    text2 = "_I just hope they won't do anything to it._";
begintalknode 5;
    state = 2;
    nextstate = 2;
    condition = get_flag(7, 20) == 0;
    question = "You said they were from Goldar. I've been there. Describe 'them', and I'll try get your toy back.";
    text1 = "_Will ya' really do it for me? Well, there were about 5 of them. Three tall musculous men with dark hair and one thin man in red robes led by a tall man with a beard and only little hair._";
    text2 = "_Never put doom on the whole race if a few members do crimes. I always knew there were other kinds of humans; Not just the mean ones who steal stuff!_";
    code =
    set_flag(7, 20, 1); 
    toggle_quest(2, 1);
    break;
begintalknode 6;
    state = 1;
    nextstate = 1;
    condition = has_item(463);
    question = "I've found something that I think is yours.";
    text1 = "When you show him the bat you stole (back) from Goldar, Nhyssa stops the slow crawling and leaps up in the air of happiness.";
    text2 = "Sulphuric acid flies from Nhyssa's mouth. It doesn't land on you, fortunately. It lands on the floor, making a small puddle of a deadly poison.";
    text3 = "_T-t-thank you, humans. Henceforth I shall never put doom on one whole race for what five individuals do._ Nhyssa walks away to clean up the acid.";
    text4 = "One interesting detail you realize is the strength of the sulphuric acid. There was mold growing in/on the ground. Now the spot has turned blank grey with no mold.";
    text5 = "Nhyssa says then: _Oh, you might want something in return. Sorry, I haven't got any treasure. The only thing I can offer you is an old but somewhat seaworthy rowboat._";
    text6 = "_Search for a passwall in the southwest corner of this room. There should be a small dock with the boat._";
    code =
    take_item(463);
    toggle_quest(2, 0);
    award_party_xp(500, 20);
    set_boat_property(1, 1);
    set_terrain(3, 28, 155);
    break;